package org.wangle.api.order.provider;

import com.baomidou.mybatisplus.extension.service.IService;
import org.wangle.api.goods.pojo.Goods;
import org.wangle.api.order.pojo.Orders;
import org.wangle.api.user.pojo.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangle
 * @since 2021-07-21
 */
public interface OrdersProvider extends IService<Orders> {

    Object creatOrder(User user, Goods goods);

    void deleteAll();


}
